package org.wattdepot.cli.commands;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import org.junit.Test;

/**
 * Tests the HTMLValidation class.
 * @author Jarret Mizo, Shaun Ramento
 *
 */
public class TestHTMLValidation {
  /**
   * Tests the UserCommandInterface methods.
   * 
   * @throws Exception if there is a problem.
   */
  @Test
  public void htmlValidation() throws Exception {
    HTMLValidation check = new HTMLValidation();
    assertTrue("Checking valid input", check.htmlValidation("source.html"));
    assertFalse("Check invalid input", check.htmlValidation("source.txt"));
  }
}
